package com.coding.pojo;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * poemway
 * @author 
 */
public class Poemway implements Serializable {
    private Integer way_id;

    private Integer way_imageid;

    private String way_name;

    private String way_text;

    private String way_intro;

    private String way_tag;

    private String way_more1;

    private String way_more2;

    private OssImages ossImages;
    private List<MainPlace> mainPlaceList;
    private List<String> placeKind;
    private List<Place> placeList;
    private static final long serialVersionUID = 1L;

    public Integer getWay_id() {
        return way_id;
    }

    public List<MainPlace> getMainPlaceList() {
        return mainPlaceList;
    }

    public void setMainPlaceList(List<MainPlace> mainPlaceList) {
        this.mainPlaceList = mainPlaceList;
    }

    public OssImages getOssImages() {
        return ossImages;
    }

    public void setOssImages(OssImages ossImages) {
        this.ossImages = ossImages;
    }

    public void setWay_id(Integer way_id) {
        this.way_id = way_id;
    }

    public Integer getWay_imageid() {
        return way_imageid;
    }

    public void setWay_imageid(Integer way_imageid) {
        this.way_imageid = way_imageid;
    }

    public String getWay_name() {
        return way_name;
    }

    public void setWay_name(String way_name) {
        this.way_name = way_name;
    }

    public String getWay_text() {
        return way_text;
    }

    public void setWay_text(String way_text) {
        this.way_text = way_text;
    }

    public String getWay_intro() {
        return way_intro;
    }

    public void setWay_intro(String way_intro) {
        this.way_intro = way_intro;
    }

    public String getWay_tag() {
        return way_tag;
    }

    public void setWay_tag(String way_tag) {
        this.way_tag = way_tag;
    }

    public String getWay_more1() {
        return way_more1;
    }

    public void setWay_more1(String way_more1) {
        this.way_more1 = way_more1;
    }

    public String getWay_more2() {
        return way_more2;
    }

    public void setWay_more2(String way_more2) {
        this.way_more2 = way_more2;
    }

    public List<Place> getPlaceList() {
        return placeList;
    }

    public void setPlaceList(List<Place> placeList) {
        this.placeList = placeList;
    }

    public List<String> getPlaceKind() {
        return placeKind;
    }

    public void setPlaceKind(List<String> placeKind) {
        this.placeKind = placeKind;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Poemway poemway = (Poemway) o;
        return Objects.equals(way_id, poemway.way_id) &&
                Objects.equals(way_imageid, poemway.way_imageid) &&
                Objects.equals(way_name, poemway.way_name) &&
                Objects.equals(way_text, poemway.way_text) &&
                Objects.equals(way_intro, poemway.way_intro) &&
                Objects.equals(way_tag, poemway.way_tag) &&
                Objects.equals(way_more1, poemway.way_more1) &&
                Objects.equals(way_more2, poemway.way_more2) &&
                Objects.equals(ossImages, poemway.ossImages) &&
                Objects.equals(mainPlaceList, poemway.mainPlaceList) &&
                Objects.equals(placeKind, poemway.placeKind) &&
                Objects.equals(placeList, poemway.placeList);
    }

    @Override
    public int hashCode() {
        return Objects.hash(way_id, way_imageid, way_name, way_text, way_intro, way_tag, way_more1, way_more2, ossImages, mainPlaceList, placeKind, placeList);
    }

    @Override
    public String toString() {
        return "Poemway{" +
                "way_id=" + way_id +
                ", way_imageid=" + way_imageid +
                ", way_name='" + way_name + '\'' +
                ", way_text='" + way_text + '\'' +
                ", way_intro='" + way_intro + '\'' +
                ", way_tag='" + way_tag + '\'' +
                ", way_more1='" + way_more1 + '\'' +
                ", way_more2='" + way_more2 + '\'' +
                ", ossImages=" + ossImages +
                ", mainPlaceList=" + mainPlaceList +
                ", placeKind=" + placeKind +
                ", placeList=" + placeList +
                '}';
    }
}